﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<WebMVC.Models.PagingViewModel>" %>
<% if(Model.CurrentPage > 1){%>
<a href="<%=WebMVC.Helpers.HtmlHelpers.AddPaging(Request.RawUrl,Model.CurrentPage - 1) %>" class="paging-previous"><<</a>
<%} else{%>
<a href="javascript:void" class="paging-previous no-paging">>></a>
<%} %>

<div class="pages-box">

</div>

<% if(Model.CurrentPage < Model.TotalPages){%>
<a href="<%=WebMVC.Helpers.HtmlHelpers.AddPaging(Request.RawUrl,Model.CurrentPage + 1) %>" class="paging-next">>></a>
<%} else{%>
<a href="javascript:void" class="paging-next no-paging">>></a>
<%} %>

